<?php
    require_once($_SERVER['DOCUMENT_ROOT'] . '/ukkepuk/source/php/classes/service/UserService.php');
    require_once($_SERVER['DOCUMENT_ROOT'] . '/ukkepuk/source/php/classes/model/User.php');
    $userService = new UserService();

?>


<div id="kidthumbs">
    
    <?php foreach ($userService->readAllUsers() as $user) { ?>
    <?php echo "<div class=\"userthumbtile\" id=\"user_".$user->getId()."\">"; ?>
        <div class="thumbname">
            <?php echo $user->getUsername(); ?>
        </div>
    </div>
    
    <?php } ?>
    
</div>